const Router = require('@koa/router')
//风景
const sightRouter = new Router({
    prefix:'/sight'
})

sightRouter.get('/',(ctx,next)=>{
    ctx.body = {
        message: 'sight home page'
    }
})

sightRouter.post('/add',(ctx,next)=>{
    ctx.body = {
        message: 'add sight port'
    }
})

module.exports = sightRouter;